<form id="add-form" class="form-horizontal  nice-validator n-default n-bootstrap"  data-toggle="validator" method="POST" action="{:url('classify/add')}" >

    <div class="form-group">
        <label for="title" class="control-label col-xs-12 col-sm-2">类别名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="name" id="name" class="form-control">
        </div>
    </div>
    <div class="form-group">
        <label for="uname" class="control-label col-xs-12 col-sm-2">状态:</label>
        <div class="col-xs-12 col-sm-8">
           <select name="state" >
               <option value="1">启用</option>
               <option value="2">禁用</option>
           </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <div class="col-xs-2"></div>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">提交</button>
        </div>
    </div>
</form>
<!-- 配置文件 -->
<script type="text/javascript" src="/assets/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="/assets/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var editor = UE.getEditor('container');
</script>
